package cn.my.android_demo.model;

import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;
public class LoginForm {

    /**
     * 账号，长度限制5位字符串到56位字符串，可以是手机号或者邮箱，分别做校验，参数必传
     */
    private String account;
    /**
     * 图片验证码，长度限制5位 字母大小写加数字，可以不传
     */
    private String imgCode;
    /**
     * 经度
     */
    private double lat;
    /**
     * 经度
     */
    private double lng;
    /**
     * 密码，长度限制6到36位，只允许字母大小写，数字与./*-+符号，参数必传
     */
    private String password;
    /**
     * 验证码校验key
     */
    private String t;

    public LoginForm(String account, String imgCode, double lat, double lng, String password, String t) {
        this.account = account;
        this.imgCode = imgCode;
        this.lat = lat;
        this.lng = lng;
        this.password = password;
        this.t = t;
    }

    public LoginForm(String account, String password) {
        this.account = account;
        this.password = password;
    }

    public LoginForm() {
        super();
    }

    public String getAccount() { return account; }
    public void setAccount(String value) { this.account = value; }

    public String getImgCode() { return imgCode; }
    public void setImgCode(String value) { this.imgCode = value; }

    public double getLat() { return lat; }
    public void setLat(double value) { this.lat = value; }

    public double getLng() { return lng; }
    public void setLng(double value) { this.lng = value; }

    public String getPassword() { return password; }
    public void setPassword(String value) { this.password = value; }

    public String getT() { return t; }
    public void setT(String value) { this.t = value; }
}
